package com.gimi.cloud.jimi.entity.userInfo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="rd_user_app_information")
public class UserAppInformation implements Serializable{
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	@Id
	private long id;
	
	/**
	 * 用户ID
	 */
	private Integer userId;

	/**
	 * app识别号  1 ios    2android
	 */
	private int appIdentify;
	/**
	 * app版本号
	 */
	private String appVersion;
	/**
	 * 纬度
	 */
	private double latitude;
	/**
	 * 经度
	 */
	private double longitude;
	/**
	 * 位置
	 */
	private String address;
	/**
	 * ip
	 */
	private String ip;
	/**
	 * IP归属地
	 */
	private String ipLocation;
	/**
	 * 设备唯一信息
	 */
	private String uniqueInformation;
	/**
	 * idfa 仅ios
	 */
	private String idfa;
	/**
	 * 设备型号
	 */
	private String unitType;
	/**
	 * 运营商
	 */
	private String operators;
	/**
	 * 渠道
	 */
	private String channelId;
	/**
	 * 应用标识
	 */
	private String appId;
	/**
	 * 添加时间
	 */
	private Date addTime;
	/**
	 * 
	 */
	private int userAction;
	/**
	 * 纬度保留两位小数
	 */
	private Double latitude2;
	/**
	 * 经度保留三维小数
	 */
	private Double longitude3;

	/**
	 *  0：验证码登录;1:密码登录
	 */
	private Integer saveType;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public int getAppIdentify() {
		return appIdentify;
	}
	public void setAppIdentify(int appIdentify) {
		this.appIdentify = appIdentify;
	}
	public String getAppVersion() {
		return appVersion;
	}
	public void setAppVersion(String appVersion) {
		this.appVersion = appVersion;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getIpLocation() {
		return ipLocation;
	}
	public void setIpLocation(String ipLocation) {
		this.ipLocation = ipLocation;
	}
	public String getUniqueInformation() {
		return uniqueInformation;
	}
	public void setUniqueInformation(String uniqueInformation) {
		this.uniqueInformation = uniqueInformation;
	}
	public String getIdfa() {
		return idfa;
	}
	public void setIdfa(String idfa) {
		this.idfa = idfa;
	}
	public String getUnitType() {
		return unitType;
	}
	public void setUnitType(String unitType) {
		this.unitType = unitType;
	}
	public String getOperators() {
		return operators;
	}
	public void setOperators(String operators) {
		this.operators = operators;
	}
	public String getChannelId() {
		return channelId;
	}
	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public int getUserAction() {
		return userAction;
	}
	public void setUserAction(int userAction) {
		this.userAction = userAction;
	}
	public Double getLatitude2() {
		return latitude2;
	}
	public void setLatitude2(Double latitude2) {
		this.latitude2 = latitude2;
	}
	public Double getLongitude3() {
		return longitude3;
	}
	public void setLongitude3(Double longitude3) {
		this.longitude3 = longitude3;
	}

	public Integer getSaveType() {
		return saveType;
	}

	public void setSaveType(Integer saveType) {
		this.saveType = saveType;
	}
}
